<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <link href="/favicon.ico" rel="icon">
    <meta content="width=device-width, initial-scale=1, maximum-scale=1, minimum-scale=1, user-scalable=no" name="viewport">
    <title>网考通</title>
</head>
<body>
<div id="app"></div>
<script src="/src/main.js" type="module"></script>
<script src="/tinymce/tinymce.min.js" ></script>
<script src="/tinymce/langs/zh-Hans.js"></script>
</body>
<script>
    try {
        const mediaQuery = window.matchMedia('(prefers-color-scheme: dark)')
        mediaQuery.onchange = darkModeHandler

        function darkModeHandler() {
            if (mediaQuery.matches) {
                return document.body.parentElement.classList.add("dark")
            }
            document.body.parentElement.classList.remove("dark")
        }

        darkModeHandler()
    } catch (e) {
    }
</script>
</html>
